<?php
// 读取方式 config("文件名.key");
return [
    'menu' =>array(
//			"1000"=>array("name"=>"会员管理",
//						  "class"=>"fa-user-md",
//						  "url"=>"#",
//						  "order"=>0,	
//						  "childs"=>array(
//						 				"10001000"=>array("name"=>"会员列表",
//						 								  "url"=>"/admin/user/index",
//						 								  "order"=>0,
//						 								  "childs"=>array(
//						 												"100010001000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/user/add","icon"=>"fa-plus-square"),
//						 												"100010001001"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/user/edit","icon"=>"fa-edit"),
//						 												"100010001002"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/user/delete","icon"=>"fa-trash-o"),
//						 												"100010001003"=>array("name"=>"导入","class"=>"btn-info","url"=>"/admin/user/import","icon"=>"fa-upload"),
//						 												"100010001004"=>array("name"=>"导出","class"=>"btn-info","url"=>"/admin/user/excel","icon"=>"fa-download"),
//																		 ),
//														),
//						 				"10001001"=>array("name"=>"运动记录",
//						 								  "url"=>"/admin/record/index",
//						 								  "order"=>0,						 				
//						 								  "childs"=>array(),
//																		
//														),			
//						 				"10001002"=>array("name"=>"运动周统计",
//						 								  "url"=>"/admin/WeekStatistic/index",
//						 								  "order"=>0,							 				
//						 								  "childs"=>array(),
//																		
//														),																									
//										)
//						),
			
			"1001"=>array("name"=>"后台管理",
						  "class"=>"fa-group",
						  "url"=>"#",
						  "order"=>0,				
						  "childs"=>array(
						 				"10011000"=>array("name"=>"管理员列表",
						 								  "url"=>"/admin/admin/index",
						 								  "order"=>0,							 				
						 								  "childs"=>array(
						 												"100110001000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/admin/add","icon"=>"fa-plus-square"),
						 												"100110001001"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/admin/edit","icon"=>"fa-edit"),
						 												"100110001002"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/admin/delete","icon"=>"fa-trash-o"),
//						 												"100110001003"=>array("name"=>"导出","class"=>"btn-info","url"=>"/admin/admin/excel","icon"=>"fa-download"),
																		 ),
																		
														),
//						 				"10011001"=>array("name"=>"权限分配",
//						 								  "url"=>"/admin/auth/index",
//						 								  "order"=>0,							 				
//						 								  "childs"=>array(
//						 												"100110011001"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/auth/delete","icon"=>"fa-trash-o"),
//						 												"100110011002"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/auth/edit","icon"=>"fa-edit"),
//																		 ),
//																	
//						 				                ),			
						 				"10011002"=>array("name"=>"登录日志",
						 								  "url"=>"/admin/AdminLog/index",
						 								  "order"=>0,							 				
						 								  "childs"=>array(
//						 												"100110021000"=>array("name"=>"导出","class"=>"btn-danger","url"=>"xxx","icon"=>"fa-cloud"),
																		 ),
														),																									
										)
						),
			"1002"=>array("name"=>"系统管理",
						  "class"=>"fa-cogs",
						  "url"=>"#",	
						  "order"=>0,			
						  "childs"=>array(
						 				"10021000"=>array("name"=>"权限分组",
						 								  "url"=>"/admin/AuthGroup/index",
						 								  "order"=>0,							 				
						 								  "childs"=>array(
						 												"100210001000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/AuthGroup/add","icon"=>"fa-plus-square"),
						 												"100210001001"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/AuthGroup/edit","icon"=>"fa-edit"),
						 												"100210001002"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/AuthGroup/delete","icon"=>"fa-trash-o"),
																		 ),
														),
//						 				"10021001"=>array("name"=>"统计管理",
//						 								  "url"=>"#",
//						 								  "order"=>0,							 				
//						 								  "childs"=>array(
//														  ),
//														),
//										"10021002"=>array("name"=>"系统设置",
//						 								  "url"=>"/admin/Constant/index",
//						 								  "order"=>0,							 				
//						 								  "childs"=>array(),
//														),							
										)
						),
			"1003"=>array("name"=>"个人信息",
						  "class"=>"fa-asterisk",
						  "url"=>"#",	
						  "order"=>1,			
						  "childs"=>array(
//						 				"10031000"=>array("name"=>"修改资料",
//						 								  "url"=>"/admin/Admin/info",
//						 								  "order"=>0,							 				
//						 								  "childs"=>array(),
//														),
						 				"10031001"=>array("name"=>"密码修改",
						 								  "url"=>"/admin/Admin/edit_psw",
						 								  "order"=>0,							 				
						 								  "childs"=>array(),
														),
										)
						),	
			"1004"=>array("name"=>"智能设备",
			  "class"=>"fa-smile-o",
			  "url"=>"#",	
			  "order"=>1,			
			  "childs"=>array(
			  				"10041003"=>array("name"=>"制会员卡",
			 								  "url"=>"/admin/Member/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(											  	
	 												"100410031000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/member/add","icon"=>"fa-plus-square"),
	 												"100410031001"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/member/edit","icon"=>"fa-edit"),
	 												"100410031002"=>array("name"=>"制匹配卡","class"=>"btn-info","url"=>"/admin/member/fetchcard","icon"=>"fa-search"),
	 												"100410031003"=>array("name"=>"同步会员信息","class"=>"btn-info","url"=>"/admin/member/sync","icon"=>"fa-edit"),
													"100410031004"=>array("name"=>"前台验卡","class"=>"btn-warning","url"=>"/admin/member/varify","icon"=>"fa-hand-o-left"),
													"100410031005"=>array("name"=>"会员借卡","class"=>"btn-danger","url"=>"/admin/member/borrow","icon"=>"fa-hand-o-right"),
	 												"100410031006"=>array("name"=>"会员还卡","class"=>"btn-danger","url"=>"/admin/member/back","icon"=>"fa-hand-o-left"),
	 												"100410031007"=>array("name"=>"权限","class"=>"btn-danger","url"=>"/admin/member/auth","icon"=>"fa-eye"),
	 												"100410031008"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/member/delete","icon"=>"fa-trash-o"),
	 												"100410031009"=>array("name"=>"存柜设置","class"=>"btn-danger","url"=>"/admin/member/locker","icon"=>"fa-lock"),
	 												"100410031010"=>array("name"=>"离线添加","class"=>"btn-info","url"=>"/admin/member/add_offline","icon"=>"fa-plus-square"),
	 												"100410031011"=>array("name"=>"离线编辑","class"=>"btn-info","url"=>"/admin/member/edit_offline","icon"=>"fa-edit"),
											  ),
									),
							"10041001"=>array("name"=>"制临时卡",
			 								  "url"=>"/admin/Temp/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(											  	
//	 												"100410011000"=>array("name"=>"制卡","class"=>"btn-info","url"=>"/admin/temp/add/type/1","icon"=>"fa-plus-square"),
	 												"100410011001"=>array("name"=>"删卡","class"=>"btn-danger","url"=>"/admin/temp/delete","icon"=>"fa-trash-o"),
	 												"100410011002"=>array("name"=>"借卡","class"=>"btn-danger","url"=>"/admin/temp/borrow","icon"=>"fa-hand-o-left"),
	 												"100410011003"=>array("name"=>"还卡","class"=>"btn-danger","url"=>"/admin/temp/back","icon"=>"fa-hand-o-right"),
	 												"100410011004"=>array("name"=>"备注","class"=>"btn-info","url"=>"/admin/temp/descs","icon"=>"fa-edit"),
	 												"100410011005"=>array("name"=>"权限","class"=>"btn-danger","url"=>"/admin/member/auth","icon"=>"fa-eye"),
	 												"100410011006"=>array("name"=>"存柜设置","class"=>"btn-danger","url"=>"/admin/Temp/locker","icon"=>"fa-lock"),
											  ),
											),		
			 				"10041000"=>array("name"=>"制员工卡",
			 								  "url"=>"/admin/Staff/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
	 												"100410001000"=>array("name"=>"新增员工","class"=>"btn-info","url"=>"/admin/Staff/add","icon"=>"fa-plus-square"),
	 												"100410001001"=>array("name"=>"修改员工","class"=>"btn-warning","url"=>"/admin/Staff/edit","icon"=>"fa-edit"),
	 												"100410001002"=>array("name"=>"删除员工","class"=>"btn-danger","url"=>"/admin/Staff/delete","icon"=>"fa-trash-o"),
	 												"100410001003"=>array("name"=>"员工借卡","class"=>"btn-danger","url"=>"/admin/Staff/borrow","icon"=>"fa-hand-o-right"),
	 												"100410001004"=>array("name"=>"员工还卡","class"=>"btn-danger","url"=>"/admin/Staff/back","icon"=>"fa-hand-o-left"),
	 												"100410001005"=>array("name"=>"换卡","class"=>"btn-danger","url"=>"/admin/Staff/change_card","icon"=>"fa-edit"),
	 												"100410001006"=>array("name"=>"权限","class"=>"btn-danger","url"=>"/admin/member/auth","icon"=>"fa-eye"),
	 												"100410001007"=>array("name"=>"存柜设置","class"=>"btn-danger","url"=>"/admin/staff/locker","icon"=>"fa-lock"),
											  ),
											),
							"10041002"=>array("name"=>"进/出场记录",
			 								  "url"=>"/admin/Behavior/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
											  	"100410021000"=>array("name"=>"导出","class"=>"btn-info","url"=>"/admin/Behavior/excel","icon"=>"fa-download"),
											  ),
											),					
							"10041004"=>array("name"=>"系统设置",
			 								  "url"=>"/admin/SystemSet/index",
			 								  "order"=>1,							 				
			 								  "childs"=>array(),
									),		
							"10041005"=>array("name"=>"内门禁管理",
			 								  "url"=>"/admin/SlidingDoor/index",
			 								  "order"=>1,							 				
			 								  "childs"=>array(
//	 												"100410051000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/SlidingDoor/add","icon"=>"fa-plus-square"),
//	 												"100410051001"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/SlidingDoor/delete","icon"=>"fa-trash-o"),
	 												"100410051002"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/SlidingDoor/edit","icon"=>"fa-edit"),
											  ),
									),
							"10041006"=>array("name"=>"内门禁权限分组",
			 								  "url"=>"/admin/SlidingGroup/index",
			 								  "order"=>1,							 				
			 								  "childs"=>array(
	 												"100410061000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/SlidingGroup/add","icon"=>"fa-plus-square"),
	 												"100410061001"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/SlidingGroup/delete","icon"=>"fa-trash-o"),
	 												"100410061002"=>array("name"=>"修改","class"=>"btn-warning","url"=>"/admin/SlidingGroup/edit","icon"=>"fa-edit"),
	 												"100410061003"=>array("name"=>"权限分配","class"=>"btn-warning","url"=>"/admin/SlidingGroup/give","icon"=>"fa-edit"),
	 												"100410061004"=>array("name"=>"权限查询","class"=>"btn-warning","url"=>"/admin/SlidingGroup/query","icon"=>"fa-edit"),
											  ),
									),		
							"10041007"=>array("name"=>"借/还卡记录",
			 								  "url"=>"/admin/BorrowCard/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(),
											),	
							"10041008"=>array("name"=>"广告位",
			 								  "url"=>"/admin/Windows/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
	 												"100410081000"=>array("name"=>"新增","class"=>"btn-info","url"=>"/admin/Windows/add","icon"=>"fa-plus-square"),
	 												"100410081001"=>array("name"=>"删除","class"=>"btn-danger","url"=>"/admin/Windows/delete","icon"=>"fa-trash-o"),
//	 												"100410081002"=>array("name"=>"编辑","class"=>"btn-danger","url"=>"/admin/Windows/edit","icon"=>"fa-edit"),
	 												"100410081003"=>array("name"=>"激活","class"=>"btn-danger","url"=>"/admin/Windows/activation","icon"=>"fa-magnet"),
	 												"100410081004"=>array("name"=>"新增设备","class"=>"btn-danger","url"=>"/admin/Windows/addEqui","icon"=>"fa-plus-square"),
											  ),
											),		
							"10041009"=>array("name"=>"内门禁日志",
			 								  "url"=>"/admin/SlidingLog/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
											  "100410091000"=>array("name"=>"导出","class"=>"btn-info","url"=>"/admin/Behavior/excel","icon"=>"fa-download"),
											  ),
											),		
							"10041010"=>array("name"=>"储物柜使用记录",
			 								  "url"=>"/admin/Cabinet/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
											  ),
											),	
							"10041011"=>array("name"=>"水控充值记录",
			 								  "url"=>"/admin/WaterPump/index",
			 								  "order"=>0,							 				
			 								  "childs"=>array(
			 								 		"100410111000"=>array("name"=>"设置","class"=>"btn-info","url"=>"/admin/WaterPump/pump_set","icon"=>"fa-plus-square"),
	 												"100410111001"=>array("name"=>"还原","class"=>"btn-danger","url"=>"/admin/WaterPump/pump_reset","icon"=>"fa-rotate-right"),
											  ),
											),	
																																						
							)
			),		
//			'1005'=>array(
//			  "name"=>"接口测试",
//			  "class"=>"fa-superscript",
//			  "url"=>"#",	
//			  "order"=>1,			
//			  "childs"=>array(
//			  				"10051001"=>array("name"=>"会员测试",
//			 								  "url"=>"/admin/ApiTest/index",
//			 								  "order"=>0,							 				
//			 								  "childs"=>array(											  	
//	 												"100510011000"=>array("name"=>"新增会员","class"=>"btn-info","url"=>"/admin/ApiTest/add","icon"=>"fa-plus-square"),
//	 												"100510011001"=>array("name"=>"修改会员","class"=>"btn-warning","url"=>"/admin/ApiTest/edit","icon"=>"fa-edit"),
//	 												"100510011002"=>array("name"=>"删除会员","class"=>"btn-danger","url"=>"/admin/ApiTest/delete","icon"=>"fa-trash-o"),
//											  ),
//									),
//							)
//			),	
		),
];